﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace SmartConference.Infrastructure.Migrations
{
    public partial class 会议室图片 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "RoomImage",
                table: "MeetingRooms",
                type: "nvarchar(255)",
                maxLength: 255,
                nullable: false,
                defaultValue: "");

            migrationBuilder.UpdateData(
                table: "UserInfo",
                keyColumn: "IDNumber",
                keyValue: 1L,
                column: "Birthday",
                value: new DateTime(2025, 5, 28, 20, 55, 47, 422, DateTimeKind.Local).AddTicks(7309));
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "RoomImage",
                table: "MeetingRooms");

            migrationBuilder.UpdateData(
                table: "UserInfo",
                keyColumn: "IDNumber",
                keyValue: 1L,
                column: "Birthday",
                value: new DateTime(2025, 5, 28, 20, 54, 6, 503, DateTimeKind.Local).AddTicks(4755));
        }
    }
}
